package com.kangaroo.myhome.model;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * t_sys_menu
 * @author 
 */
public class TSysMenu implements Serializable {
    /**
     * 主键
     */
    private String id;

    /**
     * 菜单名称
     */
    private String name;

    /**
     * 排序
     */
    private Integer sort;

    /**
     * 菜单地址
     */
    private String target;

    /**
     * 上级菜单ID
     */
    private String pId;

    /**
     * 创建人
     */
    private String creator;

    private Date createTime;

    private static final long serialVersionUID = 1L;

    private List<TSysMenu> childrens;

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public List<TSysMenu> getChildrens() {
        return childrens;
    }

    public void setChildrens(List<TSysMenu> childrens) {
        this.childrens = childrens;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public String getTarget() {
        return target;
    }

    public void setTarget(String target) {
        this.target = target;
    }

    public String getpId() {
        return pId;
    }

    public void setpId(String pId) {
        this.pId = pId;
    }

    public String getCreator() {
        return creator;
    }

    public void setCreator(String creator) {
        this.creator = creator;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}